### -*- coding: utf-8 -*- #############################################
# Разработано Паэглит Арвидом (http://arvid.dp.ua/)
# Все права защищены, 2007
#
# Developed by Paeglit Arvid (http://arvid.dp.ua/)
# All right reserved, 2007
#######################################################################
"""UserAddMailableAdapter class for the Zope 3 based useraddmail package

$Id: annotationadapter.py 35 2007-12-11 12:38:03Z Arvi3D $

"""
__author__  = "Arvid"
__license__ = "GPL"
__version__ = "$Revision: 35 $"
__date__ = "$Date: 2007-12-11 12:38:03 +0000 (Tue, 11 Dec 2007) $"

from zope.annotation.interfaces import IAnnotations

from annotation import UserAddMail
from interfaces import userAddMailKey

def UserAddMailableAdapter(context) :
    return IAnnotations(context).setdefault(userAddMailKey, UserAddMail())
